package com.md.api.service;



import com.md.api.entity.*;
import com.md.api.entity.dto.ComposeCommitDto;
import com.md.api.entity.dto.ComposeQueryDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author liujie
 * @ClassName UserSevice
 * @Date 2022/11/9 11:34
 **/
public interface SysUserSevice {

    HttpResult sysUserLogin( SysUser user);

    HttpResult addUser( SysUser user);

    HttpResult resetPass( SysUser sysUser);


    HttpResult userPage(ComposeQueryDto composeQueryDto) ;

    HttpResult deleteUser( ComposeCommitDto commitDto);

    HttpResult enableUser( SysUser user);

    HttpResult updateUser( SysUser user);

    HttpResult updatePass( SysUser user);

    HttpResult addEvaluation( EvaluationRecord record);

    HttpResult deleteEvaluation( EvaluationRecord record);

    HttpResult updateEvaluation( EvaluationRecord record);

    HttpResult evaluationPage( ComposeQueryDto composeQueryDto);
    HttpResult spuPage( ComposeQueryDto composeQueryDto);
    HttpResult skuPage( ComposeQueryDto composeQueryDto);

    HttpResult orderPage(ComposeQueryDto composeQueryDto);

    HttpResult customPage(ComposeQueryDto composeQueryDto);

    HttpResult vipPage(ComposeQueryDto composeQueryDto);

    HttpResult newVip(VipProperties vipProperties);
    HttpResult setVip(VipProperties vipProperties);

    HttpResult vipOrderDetail(TbOrder order);

    HttpResult productOrderDetail(TbOrder order);

    HttpResult indexCount();

    HttpResult photoPage(ComposeQueryDto qto);

    HttpResult picturePage(ComposeQueryDto qto);

    HttpResult thawingPhoto(PhotoInfo photoInfo);

    HttpResult deletePicture(PictureInfo picture);

    HttpResult unlockCustom(UserInfo userInfo);

    HttpResult switchList();

    HttpResult switchOpen(SysSwitch sysSwitch);

    HttpResult switchClose(SysSwitch sysSwitch);

    HttpResult picShow();

    HttpResult setPicShow(SysPcConfiguration pcConfiguration);
    HttpResult setDocShow(SysPcDocInstruction pcConfiguration);

    HttpResult docInstruction(SysPcDocInstruction instruction);

    HttpResult delDoc(SysPcDocInstruction pcConfiguration);

    HttpResult newDoc(SysPcDocInstruction pcConfiguration);

    HttpResult distributeOrder(ComposeQueryDto composeQueryDto);

    HttpResult updatePhoneCode(PhoneCodeConfirmLaw record);

    HttpResult deletePhoneCode(PhoneCodeConfirmLaw record);

    HttpResult addPhoneCode(PhoneCodeConfirmLaw record);

    HttpResult phoneCodePage(ComposeQueryDto composeQueryDto);

    HttpResult deleteSpu(ComposeQueryDto composeQueryDto);
}
